<div class="modal" tabindex="-1" role="dialog">
    <div class="modal-dialog" style="width: 700px;">
        <div class="card">
            <div class="header" dragable-header>
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title">{{editParams.title}}</h4>
            </div>
            <div activate-input activate-select class="body">
                <form class="form-horizontal" role="form" id="editForm"
                      name="editForm" ng-submit="save(editForm.$valid)" novalidate>
                    <div class="dj-formtable">
                        <table class="dj-table">
                            <tr>
                                <th>标题</th>
                                <td ng-class="{ 'has-error' : this.editForm.title.$invalid &&  this.editForm.$submitted}">
                                    <input type="text" class="form-control" name="title" ng-model="dataModel.title" ng-required="true" />
                                </td>
                                <th>
                                    排序
                                </th>
                                <td ng-class="{ 'has-error' : this.editForm.orderno.$invalid &&  this.editForm.$submitted}">
                                    <input type="text" class="form-control" name="orderno" ng-model="dataModel.orderno" ng-required="true" />
                                </td>
                            </tr>
                            <tr>
                                <th>链接</th>
                                <td colspan="3" ng-class="{ 'has-error' : this.editForm.url.$invalid &&  this.editForm.$submitted}">
                                    <input type="text" class="form-control" name="url" ng-model="dataModel.url" ng-required="true" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="form_foot">
                        <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
                        <button type="submit" class="btn btn-primary" form="editForm">保存</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>